<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理中心</title>
<link rel="stylesheet" href="${pageContext.servletContext.contextPath }/static/css/pintuer.css">
<link rel="stylesheet" href="${pageContext.servletContext.contextPath }/static/css/admin.css">
<script src="${pageContext.servletContext.contextPath }/static/js/jquery.js"></script>
<script type="text/javascript">
	$(function() {
		$(".leftnav h2").click(function() {
			$(this).next().slideToggle(200);
			$(this).toggleClass("on");
		})
		$(".leftnav ul li a").click(function() {
			$("#a_leader_txt").text($(this).text());
			$(".leftnav ul li a").removeClass("on");
			$(this).addClass("on");
		})
	});
</script>

</head>
<body>
	<div class="header bg-main">
		<div class="logo margin-big-left fadein-top">
			<h1>
				<span style="font-size: 18px; color: yellow">${user.userName}</span>&nbsp;&nbsp;
				<img
					src="${pageContext.servletContext.contextPath}/${user.headerUri}"
					class="radius-circle rotate-hover" height="50" alt="" />后台管理中心
			</h1>
		</div>

		<div class="head-l">
			<a href="${pageContext.servletContext.contextPath}/logout.servlet" class="button button-little bg-blue"><span
				class="icon-wrench"></span> 退出登录</a>
		</div>
	</div>

	<div class="leftnav">
		<div class="leftnav-title">
			<strong><span class="icon-list"></span>菜单列表</strong>
		</div>

		<h2>
			<span class="icon-user"></span>用户管理
		</h2>
		<ul style="display: block">
			<li><a href="${pageContext.servletContext.contextPath }/user_list.servlet" target="right"><span class="icon-caret-right"></span>用户列表</a></li>
			<li><a href="${pageContext.servletContext.contextPath }/views/user/user_add.jsp" target="right"><span class="icon-caret-right"></span>用户审核</a></li>
		</ul>

		<h2>
			<span class="icon-pencil-square-o"></span>班级管理
		</h2>
		<ul>
			<li><a href="${pageContext.servletContext.contextPath }/views/student/student_list.jsp" target="right"><span	class="icon-caret-right"></span>班级列表</a></li>
			<li><a href="${pageContext.servletContext.contextPath }/views/user/user_add.jsp" target="right"><spanclass="icon-caret-right"></span>添加班级</a></li>
		</ul>

		<h2>
			<span class="icon-pencil-square-o"></span>学生管理
		</h2>
		<ul>
			<li><a href="${pageContext.servletContext.contextPath }/views/student/student_list.jsp" target="right"><span class="icon-caret-right"></span>学生列表</a></li>
			<li><a href="${pageContext.servletContext.contextPath }/views/user/user_add.jsp" target="right"><span class="icon-caret-right"></span>添加学生</a></li>
			<li><a href="${pageContext.servletContext.contextPath }/views/user/user_add.jsp" target="right"><spanclass="icon-caret-right"></span>选课设置</a></li>
		</ul>
	</div>

	<div class="rightContent">
		<ul class="bread">
			<li><a href="${pageContext.servletContext.contextPath }/views/welcome.jsp" target="right" class="icon-home"> 首页</a></li>
			<li><a href="#" id="a_leader_txt">网站信息</a></li>
		</ul>
		<div class="admin">
			<iframe scrolling="auto" rameborder="0" src="${pageContext.servletContext.contextPath }/views/welcome.jsp"
				name="right" width="100%" height="100%"></iframe>
		</div>
	</div>

</body>
</html>